home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 May / Disc 2 / PCU0503CD2.iso / Crystal / Samples / CPP / 32bit / Mycall / AREACMBO.H < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-18  |  1.1 KB  |  48 lines

  1. // AreaCombo.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CAreaCombo window
  6. #if !defined(_AREACOMBO_)
  7. #define _AREACOMBO_
  8. #include "../../peplus.h"
  9. #include "cursorbx.h"
  10. class CAreaCombo : public CComboBox
  11. {
  12. // Construction
  13. public:
  14.     void ClearVars();
  15.     int GetCurrentSel();
  16.     void InitializeAreaCombo(CCursorBox* cursorCombo, CRPEJob* crpeJob);
  17.     CAreaCombo();
  18.  
  19. // Attributes
  20. public:
  21.  
  22. // Operations
  23. public:
  24.  
  25. // Overrides
  26.     // ClassWizard generated virtual function overrides
  27.     //{{AFX_VIRTUAL(CAreaCombo)
  28.     //}}AFX_VIRTUAL
  29.  
  30. // Implementation
  31. public:
  32.     virtual ~CAreaCombo();
  33.     afx_msg void OnSelchange();
  34.     // Generated message map functions
  35. protected:
  36.     //{{AFX_MSG(CAreaCombo)
  37.  
  38.     //}}AFX_MSG
  39.  
  40.     DECLARE_MESSAGE_MAP()
  41. private:
  42.     CRPEJob* m_job; // job objected that is passed at initializing combo box.
  43.     // It will be used on getting the selected areas cursor.
  44.     CCursorBox* m_CursorBox; // cursor box pointer that will be used on change of selected area
  45. };
  46. #endif
  47. /////////////////////////////////////////////////////////////////////////////
  48.